/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.brain.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.brain.entity.BAnswerBank;
import com.thinkgem.jeesite.modules.brain.dao.BAnswerBankDao;

/**
 * 答案库Service
 * @author 程展峰
 * @version 2021-09-18
 */
@Service
@Transactional(readOnly = true)
public class BAnswerBankService extends CrudService<BAnswerBankDao, BAnswerBank> {

	public BAnswerBank get(String id) {
		return super.get(id);
	}
	
	public List<BAnswerBank> findList(BAnswerBank bAnswerBank) {
		return super.findList(bAnswerBank);
	}
	
	public Page<BAnswerBank> findPage(Page<BAnswerBank> page, BAnswerBank bAnswerBank) {
		return super.findPage(page, bAnswerBank);
	}
	
	@Transactional(readOnly = false)
	public void save(BAnswerBank bAnswerBank) {
		super.save(bAnswerBank);
	}
	
	@Transactional(readOnly = false)
	public void delete(BAnswerBank bAnswerBank) {
		super.delete(bAnswerBank);
	}
	
}